﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrabFieldr.Models.Interface.Tools
{
    public interface IDateTimer
    {       
        // 定时间隔（毫秒）
        int TimeInterval { get; set; }
        ////状态改变事件
        //event EventHandler? StateChanged;

        void OnPropertyChanged(string propertyName, object oldValue, object newValue);

        event EventHandler<GrabFieldr.Models.Impls.Tools.PropertyChangedEventArgs> PropertyChanged;
        //当前时间
        string FormattedTime { get; set; }
    }
}
